Zepto(function($) {
    //console.log('--->start bar');

    var data = [{
        value: 2.0,
        name: '一月'
    }, {
        value: 3.0,
        name: '二月'
    }, {
        value: 5.0,
        name: '三月'
    }];

    var bar = $('#bar');
    var barChart = echarts.init(bar[0]);
    var option = {
        calculable: true,
        xAxis: [{
            type: 'category',
            data: data
        }],
        yAxis: [{
            type: 'value'
        }],
        grid: {
            y: 30,
            y2: 30,
            x: 30,
            x2: 30
        },
        series: [{
            name: '蒸发量',
            type: 'bar',
            data: data
        }]
    };
    barChart.setOption(option);
});
